package net.goutalk.glcs.module.liteflow.service;

import net.goutalk.glcs.module.liteflow.dto.AddChainDto;
import net.goutalk.glcs.module.liteflow.dto.ExecuteFlowDto;
import net.goutalk.glcs.module.liteflow.dto.UpdateChainDto;
import net.goutalk.glcs.module.liteflow.entity.LiteflowChain;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 规则表 服务类
 * </p>
 *
 * @author tanyujie
 * @since 2023-04-06
 */
public interface ILiteflowChainService extends IService<LiteflowChain> {

    boolean addChain(AddChainDto dto);

    boolean updateChain(UpdateChainDto dto);


    boolean deleteChain(List<Long> ids);


    boolean execute(ExecuteFlowDto dto);
}
